package test;

public class fordemo3 {
	public static void main(String[] args) {
		// 0-1000可以被5整除 每行3个

		for (int i = 0; i <= 1000; i++) {
			if (i % 5 == 0) {
				System.out.print(i+"\t");  //\t是空格
			}
			if (i%(5*3)==0) {
				System.out.println();
			}
		}

	}
}
